<div class="page-header">
    <h1>New test</h1>
</div>

<% form_for(test, {action: path_to.tests(), method: 'POST', id: "test_form", class: 'form-horizontal'}, function (form) { %>
    <%- partial('tests/form.ejs', {locals: {form: form, test: test}}) %>
    <div class="form-actions">
        <%- form.submit('<i class="icon-ok icon-white"></i> Create test', {class: 'btn btn-primary'}) %> or
        <%- link_to('Cancel', path_to.tests(), {class: 'btn'}) %>
    </div>
<% });%>
